package com.zdyg.inputtask.project.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author ANGE
 * @since 2019-12-11
 */
public class SysUser extends Model<SysUser> {

    private static final long serialVersionUID=1L;

    /**
     * 用户ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门ID
     */
    private Integer deptId;

    /**
     * 登录账号
     */
    private String userName;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户类型：0非邀请，1邀请，2中都
     */
    private Integer userType;

    /**
     * 用户ID，系统生成，并非主键
     */
    private String userCode;

    /**
     * 头像
     */
    private String headImgUrl;

    /**
     * 员工编号
     */
    private String serialNumber;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 固定电话
     */
    private String fixationPhone;

    /**
     * token
     */
    private String token;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 分公司名称
     */
    private String filialE;

    /**
     * 部门名称
     */
    private String department;

    /**
     * 职务(岗位名称)
     */
    private String duty;

    /**
     * 是否应届生毕业：0否，1是
     */
    private Integer isGraduate;

    /**
     * 参加工作时间
     */
    private String joinWorkTime;

    /**
     * 入职时间
     */
    private String entryTime;

    /**
     * 所属专业
     */
    private String professionAttribute;

    /**
     * 行业
     */
    private String industry;

    /**
     * 在职状态：0在职，1离职
     */
    private Integer takeOfficeStatus;

    /**
     * 用户地址
     */
    private String userAddress;

    /**
     * 职称
     */
    private String appellation;

    /**
     * 擅长领域
     */
    private String domain;

    /**
     * 帐号是否正常 0-正常 1-锁定
     */
    private Integer status;

    /**
     * 信用评价
     */
    private String creditEvaluate;

    /**
     * 邀请码
     */
    private String invitationCode;

    /**
     * 最后登陆时间
     */
    private Date loginDate;

    /**
     * 最后登陆IP
     */
    private String loginIp;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 创建者ip
     */
    private String createIp;

    /**
     * 更新者ip
     */
    private String updateIp;

    /**
     * 备注
     */
    private String remark;

    /**
     * 逻辑删除(0未删除 1已删除)
     */
    @TableLogic
    private Integer deleted;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 最后修改时间
     */
    private Date gmtModified;

    /**
     * 担保金额
     */
    private BigDecimal assureMoney;

    /**
     * 是否人脸识别认证：0否，1是
     */
    private Integer isDiscern;

    /**
     * 用户身份：0未设置,1普通用户，2企业用户
     */
    private Integer isIdentity;

    /**
     * 省份
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    /**
     * 是否是领导：0否，1是
     */
    private Integer isLeader;

    /**
     * 毕业证图片
     */
    private String graduateUrl;

    /**
     * 资格证图片地址
     */
    private String qualificationUrl;

    /**
     * 其他图片地址
     */
    private String otherUrl;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFixationPhone() {
        return fixationPhone;
    }

    public void setFixationPhone(String fixationPhone) {
        this.fixationPhone = fixationPhone;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFilialE() {
        return filialE;
    }

    public void setFilialE(String filialE) {
        this.filialE = filialE;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public Integer getIsGraduate() {
        return isGraduate;
    }

    public void setIsGraduate(Integer isGraduate) {
        this.isGraduate = isGraduate;
    }

    public String getJoinWorkTime() {
        return joinWorkTime;
    }

    public void setJoinWorkTime(String joinWorkTime) {
        this.joinWorkTime = joinWorkTime;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public String getProfessionAttribute() {
        return professionAttribute;
    }

    public void setProfessionAttribute(String professionAttribute) {
        this.professionAttribute = professionAttribute;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public Integer getTakeOfficeStatus() {
        return takeOfficeStatus;
    }

    public void setTakeOfficeStatus(Integer takeOfficeStatus) {
        this.takeOfficeStatus = takeOfficeStatus;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getAppellation() {
        return appellation;
    }

    public void setAppellation(String appellation) {
        this.appellation = appellation;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreditEvaluate() {
        return creditEvaluate;
    }

    public void setCreditEvaluate(String creditEvaluate) {
        this.creditEvaluate = creditEvaluate;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getCreateIp() {
        return createIp;
    }

    public void setCreateIp(String createIp) {
        this.createIp = createIp;
    }

    public String getUpdateIp() {
        return updateIp;
    }

    public void setUpdateIp(String updateIp) {
        this.updateIp = updateIp;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public BigDecimal getAssureMoney() {
        return assureMoney;
    }

    public void setAssureMoney(BigDecimal assureMoney) {
        this.assureMoney = assureMoney;
    }

    public Integer getIsDiscern() {
        return isDiscern;
    }

    public void setIsDiscern(Integer isDiscern) {
        this.isDiscern = isDiscern;
    }

    public Integer getIsIdentity() {
        return isIdentity;
    }

    public void setIsIdentity(Integer isIdentity) {
        this.isIdentity = isIdentity;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public Integer getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(Integer isLeader) {
        this.isLeader = isLeader;
    }

    public String getGraduateUrl() {
        return graduateUrl;
    }

    public void setGraduateUrl(String graduateUrl) {
        this.graduateUrl = graduateUrl;
    }

    public String getQualificationUrl() {
        return qualificationUrl;
    }

    public void setQualificationUrl(String qualificationUrl) {
        this.qualificationUrl = qualificationUrl;
    }

    public String getOtherUrl() {
        return otherUrl;
    }

    public void setOtherUrl(String otherUrl) {
        this.otherUrl = otherUrl;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysUser{" +
        "id=" + id +
        ", deptId=" + deptId +
        ", userName=" + userName +
        ", nickName=" + nickName +
        ", userType=" + userType +
        ", userCode=" + userCode +
        ", headImgUrl=" + headImgUrl +
        ", serialNumber=" + serialNumber +
        ", phone=" + phone +
        ", fixationPhone=" + fixationPhone +
        ", token=" + token +
        ", email=" + email +
        ", filialE=" + filialE +
        ", department=" + department +
        ", duty=" + duty +
        ", isGraduate=" + isGraduate +
        ", joinWorkTime=" + joinWorkTime +
        ", entryTime=" + entryTime +
        ", professionAttribute=" + professionAttribute +
        ", industry=" + industry +
        ", takeOfficeStatus=" + takeOfficeStatus +
        ", userAddress=" + userAddress +
        ", appellation=" + appellation +
        ", domain=" + domain +
        ", status=" + status +
        ", creditEvaluate=" + creditEvaluate +
        ", invitationCode=" + invitationCode +
        ", loginDate=" + loginDate +
        ", loginIp=" + loginIp +
        ", createBy=" + createBy +
        ", updateBy=" + updateBy +
        ", createIp=" + createIp +
        ", updateIp=" + updateIp +
        ", remark=" + remark +
        ", deleted=" + deleted +
        ", gmtCreate=" + gmtCreate +
        ", gmtModified=" + gmtModified +
        ", assureMoney=" + assureMoney +
        ", isDiscern=" + isDiscern +
        ", isIdentity=" + isIdentity +
        ", province=" + province +
        ", city=" + city +
        ", district=" + district +
        ", isLeader=" + isLeader +
        ", graduateUrl=" + graduateUrl +
        ", qualificationUrl=" + qualificationUrl +
        ", otherUrl=" + otherUrl +
        "}";
    }
}
